#include <iostream>
#include <opencv2/opencv.hpp>

using namespace std;
using namespace cv;

int main()
{
	double b[3][2] = { { 1, 4}, { 2, 5}, { 3, 6}};
	Mat A = Mat::ones(2, 3, CV_64F);
	Mat B(3, 2, CV_64F, b);
	cout << A*B << endl;
}